package com.yang.frost.blueberry.domain;

import java.io.Serializable;

/**
 * @author 10296
 * @date 2021/3/10
 * @Description: 文章
 */
public class CmsArticle implements Serializable {

    /**
     * 文章编号
     */
    private Integer articleId;
    /**
     * 所属专题
     */
    private Integer topicId;
    /**
     * 文章标题
     */
    private String title;
    /**
     * 文章作者
     */
    private String author;
    /**
     * 转载来源网址
     */
    private String fromUrl;
    /**
     * 封面图
     */
    private String image;
    /**
     * 关键字
     */
    private String keywords;
    /**
     * 描述
     */
    private String description;
    /**
     * 类型（1：普通，2：热门）
     */
    private String type;
    /**
     * 是否允许评论
     */
    private Byte allowComments;
    /**
     * 状态(-1:不通过,0未审核,1:通过)
     */
    private Byte status;
    /**
     * 发布人
     */
    private Integer userId;
    /**
     * 阅读量
     */
    private Integer readNumber;
    /**
     * 置顶等级
     */
    private Integer top;
    /**
     * 所属系统
     */
    private Integer systemId;
    /**
     * 排序
     */
    private Long orders;
    /**
     * 发布时间
     */
    private String createTime;

    /**
     * 更改人
     */
    private String updateBy;
    /**
     * 修改时间
     */
    private String updateTime;
    /**
     * 备注
     */
    private String remarks;

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getFromUrl() {
        return fromUrl;
    }

    public void setFromUrl(String fromUrl) {
        this.fromUrl = fromUrl;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Byte getAllowComments() {
        return allowComments;
    }

    public void setAllowComments(Byte allowComments) {
        this.allowComments = allowComments;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getReadNumber() {
        return readNumber;
    }

    public void setReadNumber(Integer readNumber) {
        this.readNumber = readNumber;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public Long getOrders() {
        return orders;
    }

    public void setOrders(Long orders) {
        this.orders = orders;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "CmsArticle{" +
                "articleId=" + articleId +
                ", topicId=" + topicId +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", fromUrl='" + fromUrl + '\'' +
                ", image='" + image + '\'' +
                ", keywords='" + keywords + '\'' +
                ", description='" + description + '\'' +
                ", type='" + type + '\'' +
                ", allowComments=" + allowComments +
                ", status=" + status +
                ", userId=" + userId +
                ", readNumber=" + readNumber +
                ", top=" + top +
                ", systemId=" + systemId +
                ", orders=" + orders +
                ", createTime='" + createTime + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
